
"------------
" color scheme config
"------------

" set background=dark
" color solarized-dark
" colorscheme desert

"------     UI      --------
" highlight current line
"au WinLeave * set nocursorline nocursorcolumn
"au WinEnter * set cursorline cursorcolumn
set cursorline cursorcolumn
highlight cursorline cterm=NONE ctermbg=235 guibg=#2c2d27
highlight cursorcolumn ctermbg=235 guibg=#2c2d27

highlight WhitespaceEOL ctermbg=red guibg=red
match WhitespaceEOL /\s\+$/

" 显示tab和空格
" set list
" 设置tab和空格样式
set listchars=tab:^-
" 设定行首tab为灰色
highlight LeaderTab ctermbg=235 ctermbg=77
highlight SpecialKey ctermbg=234 ctermfg=237

" color for textwidth
set textwidth=80
highlight ColorColumn ctermbg=233 guibg=#2c2d27
let &colorcolumn=join(range(81,999),",")
let &colorcolumn="80,".join(range(120,999),",")

